package com.jianyun.jyzs.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by mlli on 2017/12/29.
 */

public class WorkOderSynchroList extends Response{

    /**
     * list : [{"createDate":"2015-10-21","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄志宏","emergencyState":0,"endDate":"2015-10-25","id":"114","importantState":1,"responUser":"杜峰","titleName":"建云宝相关注册","workState":3},{"createDate":"2016-11-17","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"hzh","emergencyState":0,"endDate":"2017-02-10","id":"730","importantState":1,"responUser":"秦宏建","titleName":"售前方案要求","workState":0},{"createDate":"2017-01-09","createUserId":"bfcd9d7b-0cb0-471a-a8bb-f0184a669a6e","createUserName":"徐成树","emergencyState":0,"endDate":"2017-02-07","id":"735","importantState":1,"responUser":"周超亿","titleName":"振津流程升级","workState":0},{"createDate":"2017-05-11","createUserId":"bfcd9d7b-0cb0-471a-a8bb-f0184a669a6e","createUserName":"徐成树","emergencyState":1,"endDate":"2017-05-15","id":"769","importantState":1,"responUser":"高建富","titleName":"标准化pm2017产品第一轮调整分析","workState":0},{"createDate":"2017-08-05","createUserId":"d83dd350-433b-4234-aedb-ece8ead36d54","createUserName":"李苗磊OA","emergencyState":0,"endDate":"2017-08-10","id":"964","importantState":0,"responUser":"王超OA","titleName":"李苗磊OA20170805创建工单000964号","workState":3},{"createDate":"2017-08-10","createUserId":"5f564311-28ce-4c22-9f44-2e37609a0993","createUserName":"周超亿OA","emergencyState":null,"endDate":"2017-08-10","id":"1009","importantState":null,"responUser":"李苗磊OA","titleName":"周超亿OA20170810创建工单001009号","workState":0},{"createDate":"2017-09-03","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄总OA","emergencyState":1,"endDate":"2017-09-05","id":"1158","importantState":0,"responUser":"王静娴","titleName":"所有表单编码的命名规范梳理一下。控制必填和是否关键字属性。","workState":0},{"createDate":"2017-09-03","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄总OA","emergencyState":null,"endDate":"2017-09-07","id":"1159","importantState":null,"responUser":"王磊","titleName":"一个审批再做一个线下审核001159号","workState":0},{"createDate":"2017-09-03","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄总OA","emergencyState":null,"endDate":"2017-09-08","id":"1160","importantState":null,"responUser":"刁晓明","titleName":"导入公司oa功能001160号","workState":0},{"createDate":"2017-09-03","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄总OA","emergencyState":null,"endDate":"2017-09-10","id":"1162","importantState":null,"responUser":"周超亿OA","titleName":"pmcloud新版集成到工地宝中001162号","workState":0},{"createDate":"2017-11-05","createUserId":"72fba308-209f-4a72-add9-99b5e1bb0204","createUserName":"李成","emergencyState":0,"endDate":"2017-11-06","id":"1206","importantState":0,"responUser":"秦宏建","titleName":"安徽新建控股售前支持申请","workState":0},{"createDate":"2017-12-28","createUserId":"f3cca17e-2d48-4144-b10b-fe69e20c9c19","createUserName":"黄志宏","emergencyState":1,"endDate":"2017-12-29","id":"1299","importantState":0,"responUser":"张明全","titleName":"2018年元旦祝贺图片","workState":0},{"createDate":"2017-12-28","createUserId":"dd1b76a0-1295-48ab-adbc-6796d0395d8d","createUserName":"王磊","emergencyState":0,"endDate":"2017-12-29","id":"1302","importantState":0,"responUser":"李苗磊","titleName":"组织架构与人员调整","workState":0}]
     * message : null
     * result : true
     * type : null
     * userId : f3cca17e-2d48-4144-b10b-fe69e20c9c19
     */

    private String message;
    private boolean result;
    private String type;
    private String userId;
    private List<ListBean> list;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable{
        /**
         * createDate : 2015-10-21
         * createUserId : f3cca17e-2d48-4144-b10b-fe69e20c9c19
         * createUserName : 黄志宏
         * emergencyState : 0
         * endDate : 2015-10-25
         * id : 114
         * importantState : 1
         * responUser : 杜峰
         * titleName : 建云宝相关注册
         * workState : 3
         */


        private String createDate;
        private String createUserId;
        private String createUserName;
        private int emergencyState;
        private String endDate;
        private String id;
        private int importantState;
        private String responUser;
        private String titleName;
        private int workState;
        private boolean checked;

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUserName() {
            return createUserName;
        }

        public void setCreateUserName(String createUserName) {
            this.createUserName = createUserName;
        }

        public int getEmergencyState() {
            return emergencyState;
        }

        public void setEmergencyState(int emergencyState) {
            this.emergencyState = emergencyState;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getImportantState() {
            return importantState;
        }

        public void setImportantState(int importantState) {
            this.importantState = importantState;
        }

        public String getResponUser() {
            return responUser;
        }

        public void setResponUser(String responUser) {
            this.responUser = responUser;
        }

        public String getTitleName() {
            return titleName;
        }

        public void setTitleName(String titleName) {
            this.titleName = titleName;
        }

        public int getWorkState() {
            return workState;
        }

        public void setWorkState(int workState) {
            this.workState = workState;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel parcel, int i) {

        }
    }
}
